package com.haiya.builder.example;

import com.haiya.builder.example.builder.ConcreteDecorator1;
import com.haiya.builder.example.builder.ConcreteDecorator2;
import com.haiya.builder.example.product.Parlour;

public class Client {
    public static void main(String[] args) {
        ConcreteDecorator1 builder1 = new ConcreteDecorator1();
        ConcreteDecorator2 builder2 = new ConcreteDecorator2();

        ProjectManager manager = new ProjectManager(builder1);
        Parlour parlour1 = manager.decorate();

        manager = new ProjectManager(builder2);
        Parlour parlour2 = manager.decorate();
    }
}